<!DOCTYPE html>
<html lang="cn">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	
			
		
	<table id="BBStable" class="table table-striped table-bordered table-hover">
			<thead>
			 <tr>
				<th>序列号</th>
				<th>inid</th>
				<th>帖子标题</th>
				<th>uid</th>
				<th>操作</th>
			 </tr>
			</thead>
			<tbody>
			<volist name="data" id="vo" key="k">
				<tr>
					<td><{$k}></td>
					<td><{$vo.inid}></td>
					<td>《 <{$vo.intitle}> 》</td>
					<td><{$vo.uid}></td>
					<th>
						<button class="btnDe btn btn-xs btn-danger" value="<{$vo.inid}>">删除</button>
					</th>
				</tr>
			</volist>
			</tbody>
		</table>
		<{$page}>
		<script type="text/javascript" src="__PUBLIC__/Admin/Js/jquery-2.1.4.min.js"></script>
		<script>
			$(function(){
				$('.btnDe').click(function(){
					var inid = $(this).val();
					_this = $(this).parent('th').parent('tr');
					$.ajax({
						type:'GET',
						url:"<{:U('BBSinvit/del')}>",
						data:'inid='+inid,
						async:false,
						success:function(data){
							_this.hide();
						},
					})
				})


			})
		</script>
</body>
</html>
		